<template>
  <div>
    <h1>111111111111111</h1>
    <button @click="second">到第三页</button>
  </div>
</template>

<script>
export default {
  name: 'Home',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  methods:{
    second(){
      this.$router.push({path:'/home'})
      this.$router.push({path:'/my'})
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
